<template>
  <div class="footer-container">
    <div class="footer-content">
      <div class="content-info">
        <p class="content-info-title">用户帮助</p>
        <a class="content-info-link">我的客服</a>
      </div>
      <div class="content-info">
        <p class="content-info-title">商务合作</p>
        <a class="content-info-link">我要开店</a>
        <a class="content-info-link">加盟指南</a>
        <a class="content-info-link">市场合作</a>
        <a class="content-info-link">开放平台</a>
      </div>
      <div class="content-info">
        <p class="content-info-title">关于我们</p>
        <a class="content-info-link">ele-monkey介绍</a>
        <a class="content-info-link">加入我们</a>
        <a class="content-info-link">联系我们</a>
        <a class="content-info-link">规则中心</a>
      </div>
      <div class="contact-us">
        <p class="contact-us-txt">24小时客服热线 : 10105757</p>
        <p class="contact-us-txt">关注我们 : <span class="wechat-icon contact-icon"></span><span class="weibo-icon contact-icon"></span></p>
      </div>
      <div class="qr-code-container">
        <div class="qr-code"></div>
      </div>
    </div>
    <div class="footer-copyright">
      <p class="company-info">所有方：珠海饿了狗信息科技有限公司</p>
      <p class="copyright-info">增值电信业务许可证 : 沪B2-20150033 | 沪ICP备 09007032 | 上海工商行政管理 Copyright ©2008-2018 ele.me, All Rights Reserved.互联网药品信息服务资格证书 编号：（沪）-经营性-2016-0011</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'CustomerFooter'
}
</script>

<style scoped>
  .footer-container {
    margin-top: 50px;
    border-top: 1px solid #dfdfdf;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
  }
  .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .content-info {
    display: flex;
    flex-direction: column;
    padding: 0 52px;
  }
  .content-info-title {
    font-size: 16px;
    color: #a2a2a2;
  }
  .content-info-link {
    font-size: 13px;
    line-height: 28px;
    color: #d2d2d2;
  }
  .contact-us {
    border-left: 1px solid #dfdfdf;
    margin-left: 55px;
    padding: 0 66px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .contact-us-txt {
    font-size: 15px;
    color: #a2a2a2;
    display: flex;
    flex-direction: row;
  }
  .contact-icon {
    width: 24px;
    height: 24px;
    margin: 0 8px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
  }
  .wechat-icon {
    margin-left: 18px;
    background-image: url("../../assets/images/customer/weixin.png");
  }
  .wechat-icon:hover {
    background-image: url("../../assets/images/customer/weixin_hover.png");
  }
  .weibo-icon {
    background-image: url("../../assets/images/customer/weibo.png");
  }
  .weibo-icon:hover {
    background-image: url("../../assets/images/customer/weibo_hover.png");
  }
  .qr-code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
  }
  .qr-code {
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("../../assets/images/customer/qr-code.png");
  }
  .footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .copyright-info {
    font-size: 13px;
    color: #dfdfdf;
    padding: 0;
    margin: 0;
  }
  .company-info {
    font-size: 13px;
    padding: 4px 0;
    margin-top: 32px;
    color: #515151 !important;
  }
</style>
